import { wait } from "@/utils/await";

export default {
  namespace: "staff",
  state: {
    detailData: {},
  },

  effects: {},

  reducers: {
    setDetailData(state: any, { payload }: any) {
      console.log(payload, "setDetailData");
      return {
        ...state,
        detailData: payload,
      };
    },
  },
};
